﻿// ===============================================================================
// RoutePriority.cs
// EOS Web Framework
// ===============================================================================
// Copyright (c) EOS Development Group. All rights reserved.
// ===============================================================================

namespace EOS.Framework.Contracts.Web.Routing
{
    /// <summary>
    /// Specifies the priority of this route. If there are two matching
    /// routes, the route with the higher priority will chosen.
    /// </summary>
    public enum RoutePriority
    {
        /// <summary>
        /// The route has only a low priority. The chance to be chosen
        /// is very low.
        /// </summary>
        Low = 0,

        /// <summary>
        /// The route has a medium priority.
        /// </summary>
        Medium = 1,

        /// <summary>
        /// The route has a high priority. It will be always chosen, if there are no other
        /// routes with the same priority. If there are two matching routes with high priority
        /// the first one will be returned.         
        /// </summary>
        High = 2
    }
}
